//
//  MLWTipsICookMaterialModel.m
//  KITCHEN_STORIES
//
//  Created by 孟令通 on 16/6/13.
//  Copyright © 2016年 MLW. All rights reserved.
//

#import "MLWTipsICookMaterialModel.h"

#import "MLWTipsICookMaterialDetailModel.h"

@implementation MLWTipsICookMaterialModel

-(instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super initWithDic:dic];
    
    if (self) {
        
        self.materialDetailModelArray = [NSMutableArray array];
        
        for (NSDictionary *dict in self.material) {
            
            MLWTipsICookMaterialDetailModel *model = [[MLWTipsICookMaterialDetailModel alloc] initWithDic:dict];
            
            [self.materialDetailModelArray addObject:model];
            [model release];
        }
        
    }
    
    return self;
}



@end
